// Direct3D_Class project
// Jonathan S. Harbour
// June 2005


#ifndef _DIRECTX_H
#define _DIRECTX_H

#include <windows.h>

class DirectX
{
public:
	int Init(HWND, int, int, int);
	void Shutdown();
	LPDIRECT3DSURFACE9 GetBackBuffer() { return backbuffer; }
	LPDIRECT3DDEVICE9 GetDevice() { return d3ddev; }

private:
	LPDIRECT3D9 d3d; 
	LPDIRECT3DDEVICE9 d3ddev; 
	LPDIRECT3DSURFACE9 backbuffer;
};



#endif

